home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / vsumcscurcnt.sql < prev    next >
Text File  |  2000-05-12  |  406b  |  14 lines

  1. /*
  2. This view sums the cscurcnt data for a particular conversion segment. 
  3. */
  4. create or replace view vsumcscurcnt as
  5. select vcurstaterange.conversion_num, 
  6.     vcurstaterange.close_count,
  7.     vcurstaterange.cashbox_glid, 
  8.     sum(cscurcnt.reset_value ) totalcash
  9. from vcurstaterange, cscurcnt
  10. where cscurcnt.det_seq_num = close_count
  11. group by conversion_num,  close_count,vcurstaterange.cashbox_glid;
  12.  
  13.  
  14.